package kr.hkit.powerjava.chapter26.dao;

import java.sql.SQLException;
import java.util.ArrayList;

public interface DaoInterface<T>{
	//department와 employee가 하는 공통적인 메서드를 
	//인터페이스라는 공간안에 선언해놓는다
	public void insertItem(T item) throws SQLException;
	public void deleteItemByNo(T item) throws SQLException;
	public void updateItemByNo(T item) throws SQLException;
	public ArrayList<T> listItems() throws SQLException;
	public T searchItem(T item) throws SQLException;
	
	
}
